home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / dskrw234.zip / DISKRW1.BAT < prev    next >
DOS Batch File  |  1991-08-05  |  1KB  |  49 lines

  1. @echo off
  2.  
  3. cls
  4. echo DiskRW1
  5. echo ═══════
  6. echo Copy several disks from %1 to %2 using DISKRW, one copy per source disk
  7.  
  8. echo.
  9. if %2.==. goto syntax
  10. if exist diskrw.$$$ goto fexist
  11.  
  12. echo press Ctrl-C to abort, any other key to start
  13. pause >nul
  14.  
  15. :copy
  16. cls
  17. echo insert  S O U R C E   D I S K, then press any key
  18. echo         ═════════════════════
  19. diskrw %1 diskrw.$$$
  20. if errorlevel 1 goto end
  21.  
  22. :write
  23. cls
  24. echo insert  D E S T I N A T I O N   D I S K, then press any key
  25. echo         ═══════════════════════════════
  26. diskrw diskrw.$$$ %2
  27. if errorlevel 1 goto end
  28. del diskrw.$$$
  29. echo.
  30. echo Press Ctrl-C to stop, any other key to copy another disk
  31. pause >nul
  32. goto copy
  33.  
  34.  
  35. :syntax
  36. echo Syntax: DiskRW1 source destination
  37. echo Example: DiskRW1 A: A:
  38. goto end
  39.  
  40. :fexist
  41. echo There exists already a file with name "DISKRW.$$$".
  42. echo If you do not longer need this please delete it
  43. echo otherwise rename it or change to a different directory
  44. echo before calling DiskRW1
  45. goto end
  46.  
  47. :end
  48. echo.
  49.